﻿//-----------------------------------------------------------------------
// <copyright file="HasFlagParameter.cs" company="None">
//     Copyright (c) 2009-2011
// </copyright>
//-----------------------------------------------------------------------

namespace CleanCode.StyleCopCustomRules.UnitTests.Resources
{
    /// <summary>
    /// Dummy class to unit test the customized StyleCop rules.
    /// </summary>
    public class HasFlagParameter
    {
        /// <summary>
        /// Methods the with flag parameter.
        /// </summary>
        /// <param name="doThisOrThat">if set to <c>true</c> [do this or that].</param>
        public void MethodWithFlagParameter(bool doThisOrThat)
        {
            if (doThisOrThat)
            {
                // doThis
            }
            else
            {
                // doThat
            }
        }
    }
}
